/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.suai.dao.impl;

/**
 *
 * @author awm
 */
public class SystemStatistic {
    private int createdPackage;
    private int servicePackage;
    private int deletedPackage;

    public void createPackage() {
        createdPackage++;
    }
    public void servicePackage() {
        servicePackage++;
    }

    public void deletePackage() {
        deletedPackage++;
    }

    public String toString() {
        StringBuffer result = new StringBuffer()
                .append("\n\tcreatedPackage: ").append(createdPackage)
                .append("\n\tservicePackage: ").append(servicePackage)
                .append("\n\tdeletedPackage: ").append(deletedPackage);
        return result.toString();
    }

}
